package club.caihappy.dao;

import club.caihappy.pojo.Blog;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Created by 百岁 on 2021/6/25
 **/
public interface BlogMapper {
    int addBlog(Blog blog);

    @Select("select * from blog")
    List<Blog> getBlogs();
}
